package org.esisar.controller.utils;

import javax.servlet.http.HttpServletRequest;


public class SessionHelper {

	public static Long getUserId(HttpServletRequest req){
		return (Long) req.getSession().getAttribute("id");
	
	}

	public static void removeUserId(HttpServletRequest req) {
		req.getSession().removeAttribute("id");
	}
	
	
	
}
